import request from '@/utils/request'
// 获取用户详细信息
export function getPmBaseInfo() {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseInfo',
    method: 'get'
  })
}
//组织概览情况概况统计
export function getPartyOverviewStatistic(params) {
  return request({
    url: '/djyl/zzgl/partyBase/partyOverviewStatistic',
    method: 'get',
    params: params
  })
}

/**
 * 获取党员发展统计
 */
export function getPartyDevelopmentStatistics(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPartyDevelopmentStatistics',
    method: 'get',
    params: params
  })
}

// 获取入党积极分子列表信息
export function getJoinPartyActivistList(params) {
  return request({
    url: '/djyl/dygl/pmBase/getJoinPartyActivistList',
    method: 'get',
    params: params
  })
}

// 获取发展对象列表信息
export function getDevelopmentObjectList(params) {
  return request({
    url: '/djyl/dygl/pmBase/getDevelopmentObjectList',
    method: 'get',
    params: params
  })
}

//发展对象及积极分子统计
export function getPmBaseMaterialsConfig(params) {
  return request({
    url: '/developPartyMember/materialsConfig/getPmBaseMaterialsConfig',
    method: 'get',
    params: params
  })
}
//党员发展情况统计(暂时弃用)
export function getDpmInfoCount(params){
  return request({
    url: '/dpm/dpmInfo/getDpmInfoCount',
    method: 'get',
    params: params
  })
}
//党员发展情况统计分析(暂时弃用)
export function getDpmInfoStatics(params){
  return request({
    url: '/dpm/dpmInfo/getDpmInfoStatics',
    method: 'get',
    params: params
  })
}

//三会一课情况统计
export function getMeetingInfoCount(params){
  return request({
    url: '/djyl/shyk/meeting/meetingStatForOrg',
    method: 'get',
    params: params
  })
}

//支部党员大会、党课按季度统计接口
export function meetingStatQuarterly(params){
  return request({
    url: '/djyl/shyk/meeting/meetingStatQuarterly',
    method: 'get',
    params: params
  })
}
//支部委员会、党小组会按月份统计接口
export function meetingStatMonthly(params){
  return request({
    url: '/djyl/shyk/meeting/meetingStatMonthly',
    method: 'get',
    params: params
  })
}
//党员信息统计，包括但不限于性别、年龄、学历、职称、岗位等；
export function getPmBaseInfoStatics(params){
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseInfoStatics',
    method: 'get',
    params: params
  })
}


// 性别分布
export function getPmBaseGenderInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseGenderInfoCount',
    method: 'get',
    params: params
  })
}
// 年龄分布
export function getPmBaseAgeInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseAgeInfoCount',
    method: 'get',
    params: params
  })
}

// 首页党员年龄分布
export function getPmBaseAgeInfoCountInfo(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseAgeInfoCountInfo',
    method: 'get',
    params: params
  })
}
// 民族分布(暂时弃用)
export function getPmBaseNationalityInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseNationOrCount',
    method: 'get',
    params: params
  })
}
// 民族分布（大屏使用接口）
export function getPmBaseNationCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseNationCount',
    method: 'get',
    params: params
  })
}

// 职称情况
export function getPmBasePostInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBasePostInfoCount',
    method: 'get',
    params: params
  })
}
// 学历分布
export function getPmBaseEducationInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseEducationInfoCount',
    method: 'get',
    params: params
  })
}
// 入党时间分布
export function getPmBaseJoinTimeInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseJoinTimeInfoCount',
    method: 'get',
    params: params
  })
}

// 学历分析统计
export function getPmBaseEducationInfoCounts(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseEducationInfoCount',
    method: 'get',
    params: params
  })
}

// 慰问
export function listByClassify(params) {
  return request({
    url: '/helpSupportApply/supportApply/listByClassify',
    method: 'get',
    params: params
  })
}

// 工会人员与非工会人员
export function getLaborNumber(params) {
  return request({
    url: '/developPartyMember/materialsConfig/getLaborNumber',
    method: 'get',
    params: params
  })
}

// 经费保障
export function listByClassifyOfMoney(params) {
  return request({
    url: '/fundGuarantee/guarantee/listByClassify',
    method: 'get',
    params: params
  })
}

// 团员与非团员
export function getMemberNumber(params) {
  return request({
    url: '/developPartyMember/materialsConfig/getMemberNumber',
    method: 'get',
    params: params
  })
}
// 党员与非党员
export function getPartyNumber(params) {
  return request({
    url: '/developPartyMember/materialsConfig/getPartyNumber',
    method: 'get',
    params: params
  })
}

// 过去12月党费缴纳情况
export function listByMonth(params) {
  return request({
    url: '/partyDues/duesRecord/listByMonth',
    method: 'get',
    params: params
  })
}
// 过去5年党费缴纳情况
export function listByYear(params) {
  return request({
    url: '/partyDues/duesRecord/listByYear',
    method: 'get',
    params: params
  })
}
// 挂包走访数据
export function getCount() {
  return request({
    url: '/partyLinkedHelp/partyLinkedHelp/getCount',
    method: 'get'
  })
}




// 入党时间分布
export function getPmBaseJoinPartyTimeInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/joinPartyTimeInfoCount',
    method: 'get',
    params: params
  })
}

// 职业分布
export function getPmBaseJobInfoCount(params) {
  return request({
    url: '/djyl/dygl/pmBase/getPmBaseJobInfoCount',
    method: 'get',
    params: params
  })
}
// 党员调动数量分析
export function getPmTransferCount(params) {
  return request({
    url: '/djyl/dygl/pmTransfer/getPmTransferCount',
    method: 'get',
    params: params
  })
}
// 党员调动原因分析
export function getPmTransferReason(params) {
  return request({
    url: '/djyl/dygl/pmTransfer/getPmTransferReason',
    method: 'get',
    params: params
  })
}
// 党员调动状态分析
export function getPmTransferStatus(params) {
  return request({
    url: '/djyl/dygl/pmTransfer/getPmTransferStatus',
    method: 'get',
    params: params
  })
}
// 党费分析统计
export function getDuesStatistics(params) {
  return request({
    url: '/partyDues/duesRecord/statistics',
    method: 'post',
    data: params
  })
}
export function getPmdInfoStatics(params) {
  return request({
    url: '/developPartyMember/info/getPmdInfoStatics',
    method: 'get',
    params: params
  })
}
export function getPmdInfoCount(params) {
  return request({
    url: '/developPartyMember/info/getPmdInfoCount',
    method: 'get',
    params: params
  })
}

// 查询经费保障列表
export function listGuarantee(params) {
  return request({
    url: '/personnelSecurity/personnelSecurity/listOfMoney',
    method: 'get',
    params: params
  })
}


// 查询党员积分
export function listOfBigs(params) {
  return request({
    url: '/MembersOfIntegral/MembersOfIntegral/listOfBigs',
    method: 'get',
    params: params
  })
}
// 查询学习强国党员积分
export function listOfBigsOfPower(params) {
  return request({
    url: '/MembersOfIntegral/MembersOfIntegral/listOfBigsOfPower',
    method: 'get',
    params: params
  })
}


// 查询万人进党校
export function MlistOfBigs(params) {
  return request({
    url: '/PartySchools/PartySchools/listOfBigs',
    method: 'get',
    params: params
  })
}

// 查询万人进党校
export function listPartyOrgInfo(params) {
  return request({
    url: '/MembersOfIntegral/MembersOfIntegral/listPartyOrgInfo',
    method: 'get',
    params: params
  })
}



// 统计党务工作者人数
export function countByBigscreen(params) {
  return request({
    url: '/personnelSecurity/personnelSecurity/countByBigscreen',
    method: 'get',
    params: params
  })
}

// 主题党日详细数据
export function meetingHotWordsByMonth() {
  return request({
    url: '/djyl/shyk/meeting/meetingHotWordsByMonth',
    method: 'get'
  })
}


// 主题党日详细数据(党课)
export function PartyClass() {
  return request({
    url: '/djyl/shyk/meeting/PartyClass',
    method: 'get'
  })
}
//查询最新一年的三会一课数据
export function listMeetingByLastYear(params) {
  return request({
    url: '/djyl/shyk/meeting/listMeetingByLastYear',
    method: 'post',
    data:params
  })
}


// 主题党日详细数据(只含主题党日)
export function PartyDay() {
  return request({
    url: '/djyl/shyk/meeting/PartyDay',
    method: 'get'
  })
}

// 生活会数据(只含主题党日)
export function PartyLifeWould() {
  return request({
    url: '/djyl/shyk/meeting/PartyLifeWould',
    method: 'get'
  })
}

// 生活会数据(只含主题党日)
export function countNowYear() {
  return request({
    url: '/volunteer/volunteerTask/countNowYear',
    method: 'get'
  })
}

// // 统计全部人员人数
// export function countAllPeople(params) {
//   return request({
//     url: '/personnelSecurity/personnelSecurity/countAllPeople',
//     method: 'get',
//     params: params
//   })
// }

// 通过慰问类型获取慰问集合
export function getCondolenceList(params) {
  return request({
    url: '/helpSupportApply/supportApply/getCondolenceListByHelpType',
    method: 'get',
    params: params
  })
}


// 获取主题党日 月详情
export function getThemePartyMonthDetail(params) {
  return request({
    url: '/djyl/shyk/meeting/getThemePartyMonthDetail',
    method: 'get',
    params: params
  })
}

export function getPartyBranchTotalOfCurrMonth(params) {
  return request({
    url: '/pointmanager/recordPer/getPartyBranchTotalOfCurrMonth',
    method: 'get',
    params: params
  })
}

export function getCurrPartyBranchInfo(params) {
  return request({
    url: '/pointmanager/recordPer/getCurrPartyBranchInfo',
    method: 'post',
    params: params
  })
}

export function getWmdyjdxData() {
  return request({
    url: '/schoolTraining/schoolTraining/getWmdyjdxData',
    method: 'get'
  })
}

export function getPartyMemberTitleAnalysis(){
  return request({
    url: '/djyl/dygl/pmBase/getPartyMemberTitleAnalysis',
    method: 'get'
  })
}


export function getPartyMemberAnalysis(){
  return request({
    url: '/djyl/dygl/pmBase/getPartyMemberAnalysis',
    method: 'get'
  })
}

export function getActivityAndFundData() {
  return request({
    url: '/partyPlace/partyPlace/getActivityAndFundData',
    method: 'get'
  })
}

export function getGQTDataList() {
  return request({
    url: '/plBase/plBase/getGQTDataList',
    method: 'get'
  })
}

export function getStudyPowerIntegral() {
  return request({
    url: '/djyl/dygl/pmBase/getStudyPowerIntegral',
    method: 'get'
  })
}
